import { Component, OnInit } from '@angular/core';
import { I18nService } from '../../../core/i18n/i18n.service';

@Component({
  selector: 'app-wenyao-lanuage-dropdown',
  templateUrl: './wenyao-lanuage-dropdown.component.html',
  styleUrls: ['./wenyao-lanuage-dropdown.component.scss']
})
export class WenyaoLanuageDropdownComponent implements OnInit {

  constructor(
    private i18nService: I18nService
  ) { }

  changeLang(lang: string) {
    this.i18nService.changeLang(lang);
  }

  ngOnInit() {
  }

}
